﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using METU_CMT.Business;

namespace METU_CMT
{
    public partial class PasswordRecoveryScreen : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void OnBtnSendClicked(object sender, EventArgs e)
        {
            EntityFactory.RecoverPassword(txtEmail.Text, txtUsername);
            Response.Redirect("~/LoginScreen.aspx");
        }
    }
}